﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlCatMaTVV.ascx.cs" Inherits="WebUserControl_ControlCatMaTVV" %>
<link rel="stylesheet" href='<%=ResolveUrl("~/LayoutCss/K_BaoCaoFormLayout.css")%>' type="text/css" />
<script type="text/javascript">
     function pageLoad() {
       $("#<%= btXem.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
       $("#<%= btSave.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
                function EndRequestHandler(sender, args) {
                        $.unblockUI();
                }
        }  
   
</script>  
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
    <fieldset>
    <legend>Cắt mã TVV không hoạt động</legend>
    <div class="fm-req">
      <label for="DropTTPP">Chọn TTPP:</label>
       <asp:DropDownList ID="DropTTPP" runat="server">
        </asp:DropDownList>
        <asp:Button ID="btXem" runat="server" onclick="btXem_Click" Text="Xem" />
      </div>
      </fieldset>
      <div>
      <asp:Button ID="btSave" runat="server" onclick="btSave_Click" Text="Lưu" />
      </div>
      <br />
       <asp:GridView ID="GridView1" runat="server" 
        CellPadding="4" ForeColor="#333333" GridLines="Both">
        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
        <Columns>
            <asp:TemplateField>
                <HeaderTemplate>
                    <asp:CheckBox ID="CheckAll"  onclick="SelectAllCheckboxes(this);" runat="server"/>
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:CheckBox ID="CheckMove" runat="server" />
                </ItemTemplate>
            
                        
            </asp:TemplateField>
           
        </Columns>
        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
